package com.kedeng.yangmuyi.exception;

/**
 * 
 * @ClassName: SystemException
 * @Description: This exception is for the exceeded object
 * @author rqian
 * @date Aug 9, 2013 2:31:13 PM
 * 
 */
public class SystemException extends Exception {

    private static final long serialVersionUID = -7038135070324877872L;
    private int               errorCodes;
    private String            msg;



    public SystemException(int errorCodes, String msg) {
        super(msg);
        this.errorCodes = errorCodes;
    }



    public SystemException(int errorCodes) {
        this.errorCodes = errorCodes;
    }



    public void setErrorCodes(int errorCodes) {
        this.errorCodes = errorCodes;
    }



    public int getErrorCodes() {
        return errorCodes;
    }



    public void setMsg(String msg) {
        this.msg = msg;
    }



    public String getMsg() {
        return msg;
    }

}
